﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using ZhonTai.Admin.Core.Entities;

namespace ZhonTai.Admin.Domain.Patrol
{
    /// <summary>
    /// 巡检表单-巡检项
    /// </summary>
    [Table(Name = "patrol_formanditem")]
    public class FormAndItemEntity : Entity
    {
        public long FormId { set; get; }

        public long ItemId { set; get; }

        #region 导航属性

        [Navigate(nameof(FormId))]
        public virtual FormEntity Form { set; get; }

        [Navigate(nameof(ItemId))]
        public virtual FormItemEntity Item { set; get; }

        #endregion
    }
}
